Add --reverse-fields option to show register fields in LSB to MSB order.#60
Conversation
|
In your screenshot, the reserved space is shown as [low:high] which is inconsistent with the rest. Is that perhaps a typo? It looks odd. |
Yep, sorry, I missed that - will fix now. |
26e287b to
3f0688b
Compare
|
Also, in the |
|
@amykyta3 is there an "override convention" in PeakRDL that I should be aware of? Generally, a command-line option usually overrides a config file option, giving a priority of: PeakRDL-html doesn't seem to have any config/command-line options that overlap, but maybe there are other plugins that already set a precedent? |
|
@amykyta3 Please see if you're happy with the committed logic:
|
|
Looks good! I just committed a slight simplification to the |
|
Great, thank you, we'll be using this new option immediately :) (well, once released) |



Please consider merging this addition.
This PR adds a
--reverse-fieldsoption, which reverses the table order of all register fields.This puts the field at the lowest position first, and the next after, and so on.
Reserved fields before/after are correctly generated too.
Please see #59 for background.